package com.lyz.remote.bean;
/**
 * 需要传输的播放日志
 * @author luyongzhao
 *
 */
public class PlayLog {
	/*非web端需要传；web端不用传直接读取cookie*/
	private String ckuid = null;
	/*视频id*/
	private String tvId = null;
	/*视频播放时长,0表示播完，-1表示刚开始播放。单位：秒*/
	private int videoPlayTime = 0;
	/*终端id*/
	private String terminalId = null;
	
	public PlayLog(String ckuid, String tvId, int videoPlayTime, String terminalId){
		this.ckuid = ckuid;
		this.tvId = tvId;
		this.videoPlayTime = videoPlayTime;
		this.terminalId = terminalId;
	}

	public String getCkuid() {
		return ckuid;
	}

	public void setCkuid(String ckuid) {
		this.ckuid = ckuid;
	}

	public String getTvId() {
		return tvId;
	}

	public void setTvId(String tvId) {
		this.tvId = tvId;
	}

	public int getVideoPlayTime() {
		return videoPlayTime;
	}

	public void setVideoPlayTime(int videoPlayTime) {
		this.videoPlayTime = videoPlayTime;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}
	
	public String toString(){
		return new StringBuilder("ckuid=").append(ckuid)
				.append("&").append("tvId=").append(tvId)
				.append("&").append("videoPlayTime=").append(videoPlayTime)
				.append("&").append("terminalId=").append(terminalId)
				.toString();
	}
	
	

}
